package com.cameron.serviceedu.entity.dto.front;

import com.cameron.serviceedu.entity.EduSubject;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class SubjectDto implements Serializable {
    private static final long serialVersionUID = 849794470754667710L;

    private String id;

    private String parentId;

    private String title;

    //一级分类的子分类集合
    private List<EduSubject> children = new ArrayList<>();
}
